package com.liuwei.msmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuwei.msmall.common.utils.PageUtils;
import com.liuwei.msmall.product.entity.SpuInfoEntity;
import com.liuwei.msmall.product.vo.SpuInfoVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author llww
 * @email 2456888577@qq.com
 * @date 2021-02-25 17:45:01
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuInfoVo spuInfoVo);

    void productUpBySpuId(Long spuId);

    void productDownBySpuId(Long spuId);

    void productDelete(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);

}

